﻿using NDLS.WebApi.Model;
using NDLS.WebApi.Model.ModelVM;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IServices
{
    public interface IUserService
    {
        MsgRes Register(string username, string password);

        MsgRes Login(string username, string password, string code);

        SmPerson GetUserInfo();

        List<MsgRes> GetBaseInfo(string trainingBase);

        List<MsgRes> GetBaseInfoByArea(string area);

        MsgRes DeleteBase(int no, string trainingBase);

        MsgRes AddBase(BaseCourse baseCourse);
        
        MsgRes ModifyBase(BaseCourse baseCourse);

        object GetAllBase(int currentPage, int pageSize);

        MsgRes AddCourse(ClassInfo classInfo);
    }
}
